﻿using System;
using System.Linq;

using Food.Data;

namespace TestSubSonic
{
    class Program
    {
        static void TestTableFood()
        {
            var afood = food.SingleOrDefault(x => x.id == 1);
            Console.Write("id={0},type_id={1},name={2}", afood.id, afood.type_id, afood.name);
        }

        static void Main(string[] args)
        {
            TestTableFood();
        }
    }
}
